Skip to content

[SPARK-57079] Add *.pyc and *.pyo to .gitignore - #691

Closed
dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-57079
Closed

dongjoon-hyun wants to merge 1 commit into
apache:mainfrom
dongjoon-hyun:SPARK-57079

Conversation

@dongjoon-hyun

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to add *.pyc and *.pyo to .gitignore to exclude Python bytecode files from being tracked by Git.

Why are the changes needed?

Like Apache Spark main repository, to prevent accidental commits of Python compiled bytecode files (*.pyc, *.pyo) that may be generated when running Python scripts in this repository (e.g., dev/spark_jira_utils.py).

https://github.com/apache/spark/blob/30bdf0b39fa6b28ea149ddd43ecd962b2b3c0cd2/.gitignore#L6-L7

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual review of .gitignore.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.7

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @peter-toth .

@dongjoon-hyun dongjoon-hyun added this to the 1.0.0 milestone May 26, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun
dongjoon-hyun deleted the SPARK-57079 branch May 26, 2026 16:31
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @viirya , too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants